package com.pzsh.entity.vo.admin;

import com.pzsh.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

/**
 * @program: pzsh
 * @description: 订单购买记录
 * @author: gxl
 * @create: 2019-12-06
 **/
@EqualsAndHashCode(callSuper = false)
@Data
public class AdminOrderVo extends BaseEntity {

    @ApiModelProperty(value = "编号")
    private Integer orderId;

    @ApiModelProperty(value = "订单号")
    private String serialNum;

    @ApiModelProperty(value = "类别，1：升级套餐名称 ，2：商品名称")
    private Integer gType;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "升级套餐名称/商品名称")
    private String goodsName;

    @ApiModelProperty(value = "原价")
    private String price;

    @ApiModelProperty(value = "购买数量")
    private Integer numb;

    @ApiModelProperty(value = "总价")
    private String totalPrice;

    @ApiModelProperty(value = "产品封面图")
    private String mainPicture;

    @ApiModelProperty(value = "优惠价")
    private String disPrice;

    @ApiModelProperty(value = "赠送积分：只可用于商城消费，不可提现/转化")
    private String givePs;

    @ApiModelProperty(value = "奖励积分: 确认收货后直接转为当前比例的冻结数量的PZSH，30天后开始按奖励天返还，如分xx天返还，最后一天一同结算余数")
    private String rewardPs;

    @ApiModelProperty(value = "升级星级，1:一星，2：二星，3：三星，4：四星，5：五星")
    private Integer toGrade;

    @ApiModelProperty(value = "可被升级级别，0：VIP，1:一星，2：二星，3：三星，4：四星")
    private Integer fromGrade;

    @ApiModelProperty(value = "直推，升级判断条件")
    private Integer recommend;

    @ApiModelProperty(value = "团队，升级判断条件")
    private Integer team;

    @ApiModelProperty(value = "复消，升级判断条件")
    private Integer reConsumption;

    @ApiModelProperty(value = "返还天数，如分10天返还，最后一天一同结算余数")
    private Integer returnDays;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "图文详情ID")
    private Integer gid;

    @ApiModelProperty(value = "订单状态，0：未支付，1：已支付，2：待收货，3：已确认收货,5:全部")
    private Integer status;

    @ApiModelProperty(value = "收货人姓名")
    private String consignee;

    @ApiModelProperty(value = "收货人电话")
    private String consigneeMobile;

    @ApiModelProperty(value = "收货详细地址")
    private String address;

    @ApiModelProperty(value = "市区,中文")
    private String city;

    @ApiModelProperty(value = "省区，中文")
    private String province;

    @ApiModelProperty(value = "省市区，中文")
    private String cityProv;

    @ApiModelProperty(value = "市区，id")
    private Integer cityId;

    @ApiModelProperty(value = "省区，id")
    private Integer provinceId;

    @ApiModelProperty(value = "省市区，id")
    private Integer cityProvId;

    @ApiModelProperty(value = "物流公司")
    private String logisticsCompany;

    @ApiModelProperty(value = "物流单号")
    private String logisticsNum;

    @ApiModelProperty(value = "用户名")
    private String account;


}
